package com.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.entity.Asset;
import com.project.entity.AssetFix;
import com.project.service.AssetFixService;
import com.project.mapper.AssetFixMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author lenovo
 * @description 针对表【t_zcwx】的数据库操作Service实现
 * @createDate 2023-02-13 17:25:19
 */
@Service
public class AssetFixServiceImpl extends ServiceImpl<AssetFixMapper, AssetFix> implements AssetFixService {
    @Autowired
    private AssetFixMapper assetFixMapper;

    @Override
    public List<AssetFix> listAssetDamage(Map<String, Object> map) {
        return assetFixMapper.listAssetDamage(map);
    }

    @Override
    public long getAssetDamageTotal(Map<String, Object> map) {
        return assetFixMapper.getAssetDamageTotal(map);
    }
}




